package com.itheima.reggie.service;

import com.itheima.reggie.dto.SetmealDto;

import com.itheima.reggie.entity.Page;
import com.itheima.reggie.entity.Setmeal;

import java.util.List;


public interface SetmealService {

    Page<SetmealDto> findByPage(Integer page, Integer pageSize, String name);
    void save(SetmealDto setmealDto);

    SetmealDto findById(long id);

    void update(SetmealDto setmealDto);

    List<Setmeal> findAllByCidAndStatus(Long categoryId, Integer status);

    void updateStatus(List<Long> ids, Integer status);

    void delete(List<Long> ids);
}
